package com.yike.user.convert;

import com.yike.common.vo.LoginUserInfoVo;
import com.yike.user.entity.User;
import com.yike.user.vo.UserVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface UserConvert {

    UserConvert INSTANCE = Mappers.getMapper(UserConvert.class);

    LoginUserInfoVo convert(User user);

    UserVo convertUserVo(User user);
}
